package com.uday.kraterchat.chatclient.data
{
	import com.uday.frmwrk.data.BaseDataItem;
	
	import flash.utils.ByteArray;

	[RemoteClass(alias="com.chat.data.FileDataItem")]
	[Bindable]
	public class FileDataItem extends BaseDataItem
	{
		public var fileData:Object;
		public var strFileName:String;
		public var numStartIndex:Number;
		public var numFileId:Number;
		public var numFileSize:Number;

		public override function toString():String{
			return 	"com.chat.data.FileDataItem[" + 
				"\n" + super.toString() + 
				"\nfileData = " + fileData.toString() + "," + 
				"\nstrFileName = " + strFileName.toString() + "," + 
				"\nnumStartIndex = " + numStartIndex.toString() + "," + 
				"\nnumFileId = " + numFileId.toString() + "," + 
				"\nnumFileSize = " + numFileSize.toString() + "]";
		}
	}
}